<?php
	/**
	 * This is a MetaControl class, providing a QForm or QPanel access to event handlers
	 * and QControls to perform the Create, Edit, and Delete functionality
	 * of the MantisBugTable class.  This code-generated class
	 * contains all the basic elements to help a QPanel or QForm display an HTML form that can
	 * manipulate a single MantisBugTable object.
	 *
	 * To take advantage of some (or all) of these control objects, you
	 * must create a new QForm or QPanel which instantiates a MantisBugTableMetaControl
	 * class.
	 *
	 * Any and all changes to this file will be overwritten with any subsequent
	 * code re-generation.
	 *
	 * @package My QCubed Application
	 * @subpackage MetaControls
	 * @property-read MantisBugTable $MantisBugTable the actual MantisBugTable data class being edited
	 * @property QLabel $IdControl
	 * @property-read QLabel $IdLabel
	 * @property QIntegerTextBox $ProjectIdControl
	 * @property-read QLabel $ProjectIdLabel
	 * @property QIntegerTextBox $ReporterIdControl
	 * @property-read QLabel $ReporterIdLabel
	 * @property QIntegerTextBox $HandlerIdControl
	 * @property-read QLabel $HandlerIdLabel
	 * @property QIntegerTextBox $DuplicateIdControl
	 * @property-read QLabel $DuplicateIdLabel
	 * @property QIntegerTextBox $PriorityControl
	 * @property-read QLabel $PriorityLabel
	 * @property QIntegerTextBox $SeverityControl
	 * @property-read QLabel $SeverityLabel
	 * @property QIntegerTextBox $ReproducibilityControl
	 * @property-read QLabel $ReproducibilityLabel
	 * @property QIntegerTextBox $StatusControl
	 * @property-read QLabel $StatusLabel
	 * @property QIntegerTextBox $ResolutionControl
	 * @property-read QLabel $ResolutionLabel
	 * @property QIntegerTextBox $ProjectionControl
	 * @property-read QLabel $ProjectionLabel
	 * @property QIntegerTextBox $EtaControl
	 * @property-read QLabel $EtaLabel
	 * @property QIntegerTextBox $BugTextIdControl
	 * @property-read QLabel $BugTextIdLabel
	 * @property QTextBox $OsControl
	 * @property-read QLabel $OsLabel
	 * @property QTextBox $OsBuildControl
	 * @property-read QLabel $OsBuildLabel
	 * @property QTextBox $PlatformControl
	 * @property-read QLabel $PlatformLabel
	 * @property QTextBox $VersionControl
	 * @property-read QLabel $VersionLabel
	 * @property QTextBox $FixedInVersionControl
	 * @property-read QLabel $FixedInVersionLabel
	 * @property QTextBox $BuildControl
	 * @property-read QLabel $BuildLabel
	 * @property QIntegerTextBox $ProfileIdControl
	 * @property-read QLabel $ProfileIdLabel
	 * @property QIntegerTextBox $ViewStateControl
	 * @property-read QLabel $ViewStateLabel
	 * @property QTextBox $SummaryControl
	 * @property-read QLabel $SummaryLabel
	 * @property QIntegerTextBox $SponsorshipTotalControl
	 * @property-read QLabel $SponsorshipTotalLabel
	 * @property QIntegerTextBox $StickyControl
	 * @property-read QLabel $StickyLabel
	 * @property QTextBox $TargetVersionControl
	 * @property-read QLabel $TargetVersionLabel
	 * @property QIntegerTextBox $CategoryIdControl
	 * @property-read QLabel $CategoryIdLabel
	 * @property QIntegerTextBox $DateSubmittedControl
	 * @property-read QLabel $DateSubmittedLabel
	 * @property QIntegerTextBox $DueDateControl
	 * @property-read QLabel $DueDateLabel
	 * @property QIntegerTextBox $LastUpdatedControl
	 * @property-read QLabel $LastUpdatedLabel
	 * @property QIntegerTextBox $IncludedInBuildVersionControl
	 * @property-read QLabel $IncludedInBuildVersionLabel
	 * @property QDateTimePicker $StartDateControl
	 * @property-read QLabel $StartDateLabel
	 * @property QDateTimePicker $EndDateControl
	 * @property-read QLabel $EndDateLabel
	 * @property-read string $TitleVerb a verb indicating whether or not this is being edited or created
	 * @property-read boolean $EditMode a boolean indicating whether or not this is being edited or created
	 */

	class MantisBugTableMetaControlGen extends QBaseClass {
		// General Variables
		/**
		 * @var MantisBugTable objMantisBugTable
		 * @access protected
		 */
		protected $objMantisBugTable;
		/**
		 * @var QForm|QControl objParentObject
		 * @access protected
		 */
		protected $objParentObject;
		/**
		 * @var string strTitleVerb
		 * @access protected
		 */
		protected $strTitleVerb;
		/**
		 * @var boolean blnEditMode
		 * @access protected
		 */
		protected $blnEditMode;

		// Controls that allow the editing of MantisBugTable's individual data fields
		/**
		 * @var QLabel lblId
		 * @access protected
		 */
		protected $lblId;
		/**
		 * @var QIntegerTextBox txtProjectId
		 * @access protected
		 */
		protected $txtProjectId;
		/**
		 * @var QIntegerTextBox txtReporterId
		 * @access protected
		 */
		protected $txtReporterId;
		/**
		 * @var QIntegerTextBox txtHandlerId
		 * @access protected
		 */
		protected $txtHandlerId;
		/**
		 * @var QIntegerTextBox txtDuplicateId
		 * @access protected
		 */
		protected $txtDuplicateId;
		/**
		 * @var QIntegerTextBox txtPriority
		 * @access protected
		 */
		protected $txtPriority;
		/**
		 * @var QIntegerTextBox txtSeverity
		 * @access protected
		 */
		protected $txtSeverity;
		/**
		 * @var QIntegerTextBox txtReproducibility
		 * @access protected
		 */
		protected $txtReproducibility;
		/**
		 * @var QIntegerTextBox txtStatus
		 * @access protected
		 */
		protected $txtStatus;
		/**
		 * @var QIntegerTextBox txtResolution
		 * @access protected
		 */
		protected $txtResolution;
		/**
		 * @var QIntegerTextBox txtProjection
		 * @access protected
		 */
		protected $txtProjection;
		/**
		 * @var QIntegerTextBox txtEta
		 * @access protected
		 */
		protected $txtEta;
		/**
		 * @var QIntegerTextBox txtBugTextId
		 * @access protected
		 */
		protected $txtBugTextId;
		/**
		 * @var QTextBox txtOs
		 * @access protected
		 */
		protected $txtOs;
		/**
		 * @var QTextBox txtOsBuild
		 * @access protected
		 */
		protected $txtOsBuild;
		/**
		 * @var QTextBox txtPlatform
		 * @access protected
		 */
		protected $txtPlatform;
		/**
		 * @var QTextBox txtVersion
		 * @access protected
		 */
		protected $txtVersion;
		/**
		 * @var QTextBox txtFixedInVersion
		 * @access protected
		 */
		protected $txtFixedInVersion;
		/**
		 * @var QTextBox txtBuild
		 * @access protected
		 */
		protected $txtBuild;
		/**
		 * @var QIntegerTextBox txtProfileId
		 * @access protected
		 */
		protected $txtProfileId;
		/**
		 * @var QIntegerTextBox txtViewState
		 * @access protected
		 */
		protected $txtViewState;
		/**
		 * @var QTextBox txtSummary
		 * @access protected
		 */
		protected $txtSummary;
		/**
		 * @var QIntegerTextBox txtSponsorshipTotal
		 * @access protected
		 */
		protected $txtSponsorshipTotal;
		/**
		 * @var QIntegerTextBox txtSticky
		 * @access protected
		 */
		protected $txtSticky;
		/**
		 * @var QTextBox txtTargetVersion
		 * @access protected
		 */
		protected $txtTargetVersion;
		/**
		 * @var QIntegerTextBox txtCategoryId
		 * @access protected
		 */
		protected $txtCategoryId;
		/**
		 * @var QIntegerTextBox txtDateSubmitted
		 * @access protected
		 */
		protected $txtDateSubmitted;
		/**
		 * @var QIntegerTextBox txtDueDate
		 * @access protected
		 */
		protected $txtDueDate;
		/**
		 * @var QIntegerTextBox txtLastUpdated
		 * @access protected
		 */
		protected $txtLastUpdated;
		/**
		 * @var QIntegerTextBox txtIncludedInBuildVersion
		 * @access protected
		 */
		protected $txtIncludedInBuildVersion;
		/**
		 * @var QDateTimePicker calStartDate
		 * @access protected
		 */
		protected $calStartDate;
		/**
		 * @var QDateTimePicker calEndDate
		 * @access protected
		 */
		protected $calEndDate;

		// Controls that allow the viewing of MantisBugTable's individual data fields
		/**
		 * @var QLabel lblProjectId
		 * @access protected
		 */
		protected $lblProjectId;
		/**
		 * @var QLabel lblReporterId
		 * @access protected
		 */
		protected $lblReporterId;
		/**
		 * @var QLabel lblHandlerId
		 * @access protected
		 */
		protected $lblHandlerId;
		/**
		 * @var QLabel lblDuplicateId
		 * @access protected
		 */
		protected $lblDuplicateId;
		/**
		 * @var QLabel lblPriority
		 * @access protected
		 */
		protected $lblPriority;
		/**
		 * @var QLabel lblSeverity
		 * @access protected
		 */
		protected $lblSeverity;
		/**
		 * @var QLabel lblReproducibility
		 * @access protected
		 */
		protected $lblReproducibility;
		/**
		 * @var QLabel lblStatus
		 * @access protected
		 */
		protected $lblStatus;
		/**
		 * @var QLabel lblResolution
		 * @access protected
		 */
		protected $lblResolution;
		/**
		 * @var QLabel lblProjection
		 * @access protected
		 */
		protected $lblProjection;
		/**
		 * @var QLabel lblEta
		 * @access protected
		 */
		protected $lblEta;
		/**
		 * @var QLabel lblBugTextId
		 * @access protected
		 */
		protected $lblBugTextId;
		/**
		 * @var QLabel lblOs
		 * @access protected
		 */
		protected $lblOs;
		/**
		 * @var QLabel lblOsBuild
		 * @access protected
		 */
		protected $lblOsBuild;
		/**
		 * @var QLabel lblPlatform
		 * @access protected
		 */
		protected $lblPlatform;
		/**
		 * @var QLabel lblVersion
		 * @access protected
		 */
		protected $lblVersion;
		/**
		 * @var QLabel lblFixedInVersion
		 * @access protected
		 */
		protected $lblFixedInVersion;
		/**
		 * @var QLabel lblBuild
		 * @access protected
		 */
		protected $lblBuild;
		/**
		 * @var QLabel lblProfileId
		 * @access protected
		 */
		protected $lblProfileId;
		/**
		 * @var QLabel lblViewState
		 * @access protected
		 */
		protected $lblViewState;
		/**
		 * @var QLabel lblSummary
		 * @access protected
		 */
		protected $lblSummary;
		/**
		 * @var QLabel lblSponsorshipTotal
		 * @access protected
		 */
		protected $lblSponsorshipTotal;
		/**
		 * @var QLabel lblSticky
		 * @access protected
		 */
		protected $lblSticky;
		/**
		 * @var QLabel lblTargetVersion
		 * @access protected
		 */
		protected $lblTargetVersion;
		/**
		 * @var QLabel lblCategoryId
		 * @access protected
		 */
		protected $lblCategoryId;
		/**
		 * @var QLabel lblDateSubmitted
		 * @access protected
		 */
		protected $lblDateSubmitted;
		/**
		 * @var QLabel lblDueDate
		 * @access protected
		 */
		protected $lblDueDate;
		/**
		 * @var QLabel lblLastUpdated
		 * @access protected
		 */
		protected $lblLastUpdated;
		/**
		 * @var QLabel lblIncludedInBuildVersion
		 * @access protected
		 */
		protected $lblIncludedInBuildVersion;
		/**
		 * @var QLabel lblStartDate
		 * @access protected
		 */
		protected $lblStartDate;
		/**
		 * @var QLabel lblEndDate
		 * @access protected
		 */
		protected $lblEndDate;

		// QListBox Controls (if applicable) to edit Unique ReverseReferences and ManyToMany References

		// QLabel Controls (if applicable) to view Unique ReverseReferences and ManyToMany References


		/**
		 * Main constructor.  Constructor OR static create methods are designed to be called in either
		 * a parent QPanel or the main QForm when wanting to create a
		 * MantisBugTableMetaControl to edit a single MantisBugTable object within the
		 * QPanel or QForm.
		 *
		 * This constructor takes in a single MantisBugTable object, while any of the static
		 * create methods below can be used to construct based off of individual PK ID(s).
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this MantisBugTableMetaControl
		 * @param MantisBugTable $objMantisBugTable new or existing MantisBugTable object
		 */
		 public function __construct($objParentObject, MantisBugTable $objMantisBugTable) {
			// Setup Parent Object (e.g. QForm or QPanel which will be using this MantisBugTableMetaControl)
			$this->objParentObject = $objParentObject;

			// Setup linked MantisBugTable object
			$this->objMantisBugTable = $objMantisBugTable;

			// Figure out if we're Editing or Creating New
			if ($this->objMantisBugTable->__Restored) {
				$this->strTitleVerb = QApplication::Translate('Edit');
				$this->blnEditMode = true;
			} else {
				$this->strTitleVerb = QApplication::Translate('Create');
				$this->blnEditMode = false;
			}
		 }

		/**
		 * Static Helper Method to Create using PK arguments
		 * You must pass in the PK arguments on an object to load, or leave it blank to create a new one.
		 * If you want to load via QueryString or PathInfo, use the CreateFromQueryString or CreateFromPathInfo
		 * static helper methods.  Finally, specify a CreateType to define whether or not we are only allowed to
		 * edit, or if we are also allowed to create a new one, etc.
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this MantisBugTableMetaControl
		 * @param integer $intId primary key value
		 * @param QMetaControlCreateType $intCreateType rules governing MantisBugTable object creation - defaults to CreateOrEdit
 		 * @return MantisBugTableMetaControl
		 */
		public static function Create($objParentObject, $intId = null, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			// Attempt to Load from PK Arguments
			if (strlen($intId)) {
				$objMantisBugTable = MantisBugTable::Load($intId);

				// MantisBugTable was found -- return it!
				if ($objMantisBugTable)
					return new MantisBugTableMetaControl($objParentObject, $objMantisBugTable);

				// If CreateOnRecordNotFound not specified, throw an exception
				else if ($intCreateType != QMetaControlCreateType::CreateOnRecordNotFound)
					throw new QCallerException('Could not find a MantisBugTable object with PK arguments: ' . $intId);

			// If EditOnly is specified, throw an exception
			} else if ($intCreateType == QMetaControlCreateType::EditOnly)
				throw new QCallerException('No PK arguments specified');

			// If we are here, then we need to create a new record
			return new MantisBugTableMetaControl($objParentObject, new MantisBugTable());
		}

		/**
		 * Static Helper Method to Create using PathInfo arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this MantisBugTableMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing MantisBugTable object creation - defaults to CreateOrEdit
		 * @return MantisBugTableMetaControl
		 */
		public static function CreateFromPathInfo($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::PathInfo(0);
			return MantisBugTableMetaControl::Create($objParentObject, $intId, $intCreateType);
		}

		/**
		 * Static Helper Method to Create using QueryString arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this MantisBugTableMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing MantisBugTable object creation - defaults to CreateOrEdit
		 * @return MantisBugTableMetaControl
		 */
		public static function CreateFromQueryString($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::QueryString('intId');
			return MantisBugTableMetaControl::Create($objParentObject, $intId, $intCreateType);
		}



		///////////////////////////////////////////////
		// PUBLIC CREATE and REFRESH METHODS
		///////////////////////////////////////////////

		/**
		 * Create and setup QLabel lblId
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblId_Create($strControlId = null) {
			$this->lblId = new QLabel($this->objParentObject, $strControlId);
			$this->lblId->Name = QApplication::Translate('Id');
			if ($this->blnEditMode)
				$this->lblId->Text = $this->objMantisBugTable->Id;
			else
				$this->lblId->Text = 'N/A';
			return $this->lblId;
		}

		/**
		 * Create and setup QIntegerTextBox txtProjectId
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtProjectId_Create($strControlId = null) {
			$this->txtProjectId = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtProjectId->Name = QApplication::Translate('Project Id');
			$this->txtProjectId->Text = $this->objMantisBugTable->ProjectId;
			$this->txtProjectId->Required = true;
			return $this->txtProjectId;
		}

		/**
		 * Create and setup QLabel lblProjectId
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblProjectId_Create($strControlId = null, $strFormat = null) {
			$this->lblProjectId = new QLabel($this->objParentObject, $strControlId);
			$this->lblProjectId->Name = QApplication::Translate('Project Id');
			$this->lblProjectId->Text = $this->objMantisBugTable->ProjectId;
			$this->lblProjectId->Required = true;
			$this->lblProjectId->Format = $strFormat;
			return $this->lblProjectId;
		}

		/**
		 * Create and setup QIntegerTextBox txtReporterId
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtReporterId_Create($strControlId = null) {
			$this->txtReporterId = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtReporterId->Name = QApplication::Translate('Reporter Id');
			$this->txtReporterId->Text = $this->objMantisBugTable->ReporterId;
			$this->txtReporterId->Required = true;
			return $this->txtReporterId;
		}

		/**
		 * Create and setup QLabel lblReporterId
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblReporterId_Create($strControlId = null, $strFormat = null) {
			$this->lblReporterId = new QLabel($this->objParentObject, $strControlId);
			$this->lblReporterId->Name = QApplication::Translate('Reporter Id');
			$this->lblReporterId->Text = $this->objMantisBugTable->ReporterId;
			$this->lblReporterId->Required = true;
			$this->lblReporterId->Format = $strFormat;
			return $this->lblReporterId;
		}

		/**
		 * Create and setup QIntegerTextBox txtHandlerId
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtHandlerId_Create($strControlId = null) {
			$this->txtHandlerId = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtHandlerId->Name = QApplication::Translate('Handler Id');
			$this->txtHandlerId->Text = $this->objMantisBugTable->HandlerId;
			$this->txtHandlerId->Required = true;
			return $this->txtHandlerId;
		}

		/**
		 * Create and setup QLabel lblHandlerId
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblHandlerId_Create($strControlId = null, $strFormat = null) {
			$this->lblHandlerId = new QLabel($this->objParentObject, $strControlId);
			$this->lblHandlerId->Name = QApplication::Translate('Handler Id');
			$this->lblHandlerId->Text = $this->objMantisBugTable->HandlerId;
			$this->lblHandlerId->Required = true;
			$this->lblHandlerId->Format = $strFormat;
			return $this->lblHandlerId;
		}

		/**
		 * Create and setup QIntegerTextBox txtDuplicateId
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtDuplicateId_Create($strControlId = null) {
			$this->txtDuplicateId = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtDuplicateId->Name = QApplication::Translate('Duplicate Id');
			$this->txtDuplicateId->Text = $this->objMantisBugTable->DuplicateId;
			$this->txtDuplicateId->Required = true;
			return $this->txtDuplicateId;
		}

		/**
		 * Create and setup QLabel lblDuplicateId
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblDuplicateId_Create($strControlId = null, $strFormat = null) {
			$this->lblDuplicateId = new QLabel($this->objParentObject, $strControlId);
			$this->lblDuplicateId->Name = QApplication::Translate('Duplicate Id');
			$this->lblDuplicateId->Text = $this->objMantisBugTable->DuplicateId;
			$this->lblDuplicateId->Required = true;
			$this->lblDuplicateId->Format = $strFormat;
			return $this->lblDuplicateId;
		}

		/**
		 * Create and setup QIntegerTextBox txtPriority
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtPriority_Create($strControlId = null) {
			$this->txtPriority = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtPriority->Name = QApplication::Translate('Priority');
			$this->txtPriority->Text = $this->objMantisBugTable->Priority;
			$this->txtPriority->Required = true;
			return $this->txtPriority;
		}

		/**
		 * Create and setup QLabel lblPriority
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblPriority_Create($strControlId = null, $strFormat = null) {
			$this->lblPriority = new QLabel($this->objParentObject, $strControlId);
			$this->lblPriority->Name = QApplication::Translate('Priority');
			$this->lblPriority->Text = $this->objMantisBugTable->Priority;
			$this->lblPriority->Required = true;
			$this->lblPriority->Format = $strFormat;
			return $this->lblPriority;
		}

		/**
		 * Create and setup QIntegerTextBox txtSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtSeverity_Create($strControlId = null) {
			$this->txtSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtSeverity->Name = QApplication::Translate('Severity');
			$this->txtSeverity->Text = $this->objMantisBugTable->Severity;
			$this->txtSeverity->Required = true;
			return $this->txtSeverity;
		}

		/**
		 * Create and setup QLabel lblSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblSeverity->Name = QApplication::Translate('Severity');
			$this->lblSeverity->Text = $this->objMantisBugTable->Severity;
			$this->lblSeverity->Required = true;
			$this->lblSeverity->Format = $strFormat;
			return $this->lblSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtReproducibility
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtReproducibility_Create($strControlId = null) {
			$this->txtReproducibility = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtReproducibility->Name = QApplication::Translate('Reproducibility');
			$this->txtReproducibility->Text = $this->objMantisBugTable->Reproducibility;
			$this->txtReproducibility->Required = true;
			return $this->txtReproducibility;
		}

		/**
		 * Create and setup QLabel lblReproducibility
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblReproducibility_Create($strControlId = null, $strFormat = null) {
			$this->lblReproducibility = new QLabel($this->objParentObject, $strControlId);
			$this->lblReproducibility->Name = QApplication::Translate('Reproducibility');
			$this->lblReproducibility->Text = $this->objMantisBugTable->Reproducibility;
			$this->lblReproducibility->Required = true;
			$this->lblReproducibility->Format = $strFormat;
			return $this->lblReproducibility;
		}

		/**
		 * Create and setup QIntegerTextBox txtStatus
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtStatus_Create($strControlId = null) {
			$this->txtStatus = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtStatus->Name = QApplication::Translate('Status');
			$this->txtStatus->Text = $this->objMantisBugTable->Status;
			$this->txtStatus->Required = true;
			return $this->txtStatus;
		}

		/**
		 * Create and setup QLabel lblStatus
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblStatus_Create($strControlId = null, $strFormat = null) {
			$this->lblStatus = new QLabel($this->objParentObject, $strControlId);
			$this->lblStatus->Name = QApplication::Translate('Status');
			$this->lblStatus->Text = $this->objMantisBugTable->Status;
			$this->lblStatus->Required = true;
			$this->lblStatus->Format = $strFormat;
			return $this->lblStatus;
		}

		/**
		 * Create and setup QIntegerTextBox txtResolution
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtResolution_Create($strControlId = null) {
			$this->txtResolution = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtResolution->Name = QApplication::Translate('Resolution');
			$this->txtResolution->Text = $this->objMantisBugTable->Resolution;
			$this->txtResolution->Required = true;
			return $this->txtResolution;
		}

		/**
		 * Create and setup QLabel lblResolution
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblResolution_Create($strControlId = null, $strFormat = null) {
			$this->lblResolution = new QLabel($this->objParentObject, $strControlId);
			$this->lblResolution->Name = QApplication::Translate('Resolution');
			$this->lblResolution->Text = $this->objMantisBugTable->Resolution;
			$this->lblResolution->Required = true;
			$this->lblResolution->Format = $strFormat;
			return $this->lblResolution;
		}

		/**
		 * Create and setup QIntegerTextBox txtProjection
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtProjection_Create($strControlId = null) {
			$this->txtProjection = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtProjection->Name = QApplication::Translate('Projection');
			$this->txtProjection->Text = $this->objMantisBugTable->Projection;
			$this->txtProjection->Required = true;
			return $this->txtProjection;
		}

		/**
		 * Create and setup QLabel lblProjection
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblProjection_Create($strControlId = null, $strFormat = null) {
			$this->lblProjection = new QLabel($this->objParentObject, $strControlId);
			$this->lblProjection->Name = QApplication::Translate('Projection');
			$this->lblProjection->Text = $this->objMantisBugTable->Projection;
			$this->lblProjection->Required = true;
			$this->lblProjection->Format = $strFormat;
			return $this->lblProjection;
		}

		/**
		 * Create and setup QIntegerTextBox txtEta
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEta_Create($strControlId = null) {
			$this->txtEta = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEta->Name = QApplication::Translate('Eta');
			$this->txtEta->Text = $this->objMantisBugTable->Eta;
			$this->txtEta->Required = true;
			return $this->txtEta;
		}

		/**
		 * Create and setup QLabel lblEta
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEta_Create($strControlId = null, $strFormat = null) {
			$this->lblEta = new QLabel($this->objParentObject, $strControlId);
			$this->lblEta->Name = QApplication::Translate('Eta');
			$this->lblEta->Text = $this->objMantisBugTable->Eta;
			$this->lblEta->Required = true;
			$this->lblEta->Format = $strFormat;
			return $this->lblEta;
		}

		/**
		 * Create and setup QIntegerTextBox txtBugTextId
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtBugTextId_Create($strControlId = null) {
			$this->txtBugTextId = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtBugTextId->Name = QApplication::Translate('Bug Text Id');
			$this->txtBugTextId->Text = $this->objMantisBugTable->BugTextId;
			$this->txtBugTextId->Required = true;
			return $this->txtBugTextId;
		}

		/**
		 * Create and setup QLabel lblBugTextId
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblBugTextId_Create($strControlId = null, $strFormat = null) {
			$this->lblBugTextId = new QLabel($this->objParentObject, $strControlId);
			$this->lblBugTextId->Name = QApplication::Translate('Bug Text Id');
			$this->lblBugTextId->Text = $this->objMantisBugTable->BugTextId;
			$this->lblBugTextId->Required = true;
			$this->lblBugTextId->Format = $strFormat;
			return $this->lblBugTextId;
		}

		/**
		 * Create and setup QTextBox txtOs
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtOs_Create($strControlId = null) {
			$this->txtOs = new QTextBox($this->objParentObject, $strControlId);
			$this->txtOs->Name = QApplication::Translate('Os');
			$this->txtOs->Text = $this->objMantisBugTable->Os;
			$this->txtOs->Required = true;
			$this->txtOs->MaxLength = MantisBugTable::OsMaxLength;
			return $this->txtOs;
		}

		/**
		 * Create and setup QLabel lblOs
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblOs_Create($strControlId = null) {
			$this->lblOs = new QLabel($this->objParentObject, $strControlId);
			$this->lblOs->Name = QApplication::Translate('Os');
			$this->lblOs->Text = $this->objMantisBugTable->Os;
			$this->lblOs->Required = true;
			return $this->lblOs;
		}

		/**
		 * Create and setup QTextBox txtOsBuild
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtOsBuild_Create($strControlId = null) {
			$this->txtOsBuild = new QTextBox($this->objParentObject, $strControlId);
			$this->txtOsBuild->Name = QApplication::Translate('Os Build');
			$this->txtOsBuild->Text = $this->objMantisBugTable->OsBuild;
			$this->txtOsBuild->Required = true;
			$this->txtOsBuild->MaxLength = MantisBugTable::OsBuildMaxLength;
			return $this->txtOsBuild;
		}

		/**
		 * Create and setup QLabel lblOsBuild
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblOsBuild_Create($strControlId = null) {
			$this->lblOsBuild = new QLabel($this->objParentObject, $strControlId);
			$this->lblOsBuild->Name = QApplication::Translate('Os Build');
			$this->lblOsBuild->Text = $this->objMantisBugTable->OsBuild;
			$this->lblOsBuild->Required = true;
			return $this->lblOsBuild;
		}

		/**
		 * Create and setup QTextBox txtPlatform
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtPlatform_Create($strControlId = null) {
			$this->txtPlatform = new QTextBox($this->objParentObject, $strControlId);
			$this->txtPlatform->Name = QApplication::Translate('Platform');
			$this->txtPlatform->Text = $this->objMantisBugTable->Platform;
			$this->txtPlatform->Required = true;
			$this->txtPlatform->MaxLength = MantisBugTable::PlatformMaxLength;
			return $this->txtPlatform;
		}

		/**
		 * Create and setup QLabel lblPlatform
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblPlatform_Create($strControlId = null) {
			$this->lblPlatform = new QLabel($this->objParentObject, $strControlId);
			$this->lblPlatform->Name = QApplication::Translate('Platform');
			$this->lblPlatform->Text = $this->objMantisBugTable->Platform;
			$this->lblPlatform->Required = true;
			return $this->lblPlatform;
		}

		/**
		 * Create and setup QTextBox txtVersion
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtVersion_Create($strControlId = null) {
			$this->txtVersion = new QTextBox($this->objParentObject, $strControlId);
			$this->txtVersion->Name = QApplication::Translate('Version');
			$this->txtVersion->Text = $this->objMantisBugTable->Version;
			$this->txtVersion->Required = true;
			$this->txtVersion->MaxLength = MantisBugTable::VersionMaxLength;
			return $this->txtVersion;
		}

		/**
		 * Create and setup QLabel lblVersion
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblVersion_Create($strControlId = null) {
			$this->lblVersion = new QLabel($this->objParentObject, $strControlId);
			$this->lblVersion->Name = QApplication::Translate('Version');
			$this->lblVersion->Text = $this->objMantisBugTable->Version;
			$this->lblVersion->Required = true;
			return $this->lblVersion;
		}

		/**
		 * Create and setup QTextBox txtFixedInVersion
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtFixedInVersion_Create($strControlId = null) {
			$this->txtFixedInVersion = new QTextBox($this->objParentObject, $strControlId);
			$this->txtFixedInVersion->Name = QApplication::Translate('Fixed In Version');
			$this->txtFixedInVersion->Text = $this->objMantisBugTable->FixedInVersion;
			$this->txtFixedInVersion->Required = true;
			$this->txtFixedInVersion->MaxLength = MantisBugTable::FixedInVersionMaxLength;
			return $this->txtFixedInVersion;
		}

		/**
		 * Create and setup QLabel lblFixedInVersion
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblFixedInVersion_Create($strControlId = null) {
			$this->lblFixedInVersion = new QLabel($this->objParentObject, $strControlId);
			$this->lblFixedInVersion->Name = QApplication::Translate('Fixed In Version');
			$this->lblFixedInVersion->Text = $this->objMantisBugTable->FixedInVersion;
			$this->lblFixedInVersion->Required = true;
			return $this->lblFixedInVersion;
		}

		/**
		 * Create and setup QTextBox txtBuild
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBuild_Create($strControlId = null) {
			$this->txtBuild = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBuild->Name = QApplication::Translate('Build');
			$this->txtBuild->Text = $this->objMantisBugTable->Build;
			$this->txtBuild->Required = true;
			$this->txtBuild->MaxLength = MantisBugTable::BuildMaxLength;
			return $this->txtBuild;
		}

		/**
		 * Create and setup QLabel lblBuild
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBuild_Create($strControlId = null) {
			$this->lblBuild = new QLabel($this->objParentObject, $strControlId);
			$this->lblBuild->Name = QApplication::Translate('Build');
			$this->lblBuild->Text = $this->objMantisBugTable->Build;
			$this->lblBuild->Required = true;
			return $this->lblBuild;
		}

		/**
		 * Create and setup QIntegerTextBox txtProfileId
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtProfileId_Create($strControlId = null) {
			$this->txtProfileId = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtProfileId->Name = QApplication::Translate('Profile Id');
			$this->txtProfileId->Text = $this->objMantisBugTable->ProfileId;
			$this->txtProfileId->Required = true;
			return $this->txtProfileId;
		}

		/**
		 * Create and setup QLabel lblProfileId
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblProfileId_Create($strControlId = null, $strFormat = null) {
			$this->lblProfileId = new QLabel($this->objParentObject, $strControlId);
			$this->lblProfileId->Name = QApplication::Translate('Profile Id');
			$this->lblProfileId->Text = $this->objMantisBugTable->ProfileId;
			$this->lblProfileId->Required = true;
			$this->lblProfileId->Format = $strFormat;
			return $this->lblProfileId;
		}

		/**
		 * Create and setup QIntegerTextBox txtViewState
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtViewState_Create($strControlId = null) {
			$this->txtViewState = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtViewState->Name = QApplication::Translate('View State');
			$this->txtViewState->Text = $this->objMantisBugTable->ViewState;
			$this->txtViewState->Required = true;
			return $this->txtViewState;
		}

		/**
		 * Create and setup QLabel lblViewState
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblViewState_Create($strControlId = null, $strFormat = null) {
			$this->lblViewState = new QLabel($this->objParentObject, $strControlId);
			$this->lblViewState->Name = QApplication::Translate('View State');
			$this->lblViewState->Text = $this->objMantisBugTable->ViewState;
			$this->lblViewState->Required = true;
			$this->lblViewState->Format = $strFormat;
			return $this->lblViewState;
		}

		/**
		 * Create and setup QTextBox txtSummary
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtSummary_Create($strControlId = null) {
			$this->txtSummary = new QTextBox($this->objParentObject, $strControlId);
			$this->txtSummary->Name = QApplication::Translate('Summary');
			$this->txtSummary->Text = $this->objMantisBugTable->Summary;
			$this->txtSummary->Required = true;
			$this->txtSummary->MaxLength = MantisBugTable::SummaryMaxLength;
			return $this->txtSummary;
		}

		/**
		 * Create and setup QLabel lblSummary
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblSummary_Create($strControlId = null) {
			$this->lblSummary = new QLabel($this->objParentObject, $strControlId);
			$this->lblSummary->Name = QApplication::Translate('Summary');
			$this->lblSummary->Text = $this->objMantisBugTable->Summary;
			$this->lblSummary->Required = true;
			return $this->lblSummary;
		}

		/**
		 * Create and setup QIntegerTextBox txtSponsorshipTotal
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtSponsorshipTotal_Create($strControlId = null) {
			$this->txtSponsorshipTotal = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtSponsorshipTotal->Name = QApplication::Translate('Sponsorship Total');
			$this->txtSponsorshipTotal->Text = $this->objMantisBugTable->SponsorshipTotal;
			$this->txtSponsorshipTotal->Required = true;
			return $this->txtSponsorshipTotal;
		}

		/**
		 * Create and setup QLabel lblSponsorshipTotal
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblSponsorshipTotal_Create($strControlId = null, $strFormat = null) {
			$this->lblSponsorshipTotal = new QLabel($this->objParentObject, $strControlId);
			$this->lblSponsorshipTotal->Name = QApplication::Translate('Sponsorship Total');
			$this->lblSponsorshipTotal->Text = $this->objMantisBugTable->SponsorshipTotal;
			$this->lblSponsorshipTotal->Required = true;
			$this->lblSponsorshipTotal->Format = $strFormat;
			return $this->lblSponsorshipTotal;
		}

		/**
		 * Create and setup QIntegerTextBox txtSticky
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtSticky_Create($strControlId = null) {
			$this->txtSticky = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtSticky->Name = QApplication::Translate('Sticky');
			$this->txtSticky->Text = $this->objMantisBugTable->Sticky;
			$this->txtSticky->Required = true;
			return $this->txtSticky;
		}

		/**
		 * Create and setup QLabel lblSticky
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblSticky_Create($strControlId = null, $strFormat = null) {
			$this->lblSticky = new QLabel($this->objParentObject, $strControlId);
			$this->lblSticky->Name = QApplication::Translate('Sticky');
			$this->lblSticky->Text = $this->objMantisBugTable->Sticky;
			$this->lblSticky->Required = true;
			$this->lblSticky->Format = $strFormat;
			return $this->lblSticky;
		}

		/**
		 * Create and setup QTextBox txtTargetVersion
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtTargetVersion_Create($strControlId = null) {
			$this->txtTargetVersion = new QTextBox($this->objParentObject, $strControlId);
			$this->txtTargetVersion->Name = QApplication::Translate('Target Version');
			$this->txtTargetVersion->Text = $this->objMantisBugTable->TargetVersion;
			$this->txtTargetVersion->Required = true;
			$this->txtTargetVersion->MaxLength = MantisBugTable::TargetVersionMaxLength;
			return $this->txtTargetVersion;
		}

		/**
		 * Create and setup QLabel lblTargetVersion
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblTargetVersion_Create($strControlId = null) {
			$this->lblTargetVersion = new QLabel($this->objParentObject, $strControlId);
			$this->lblTargetVersion->Name = QApplication::Translate('Target Version');
			$this->lblTargetVersion->Text = $this->objMantisBugTable->TargetVersion;
			$this->lblTargetVersion->Required = true;
			return $this->lblTargetVersion;
		}

		/**
		 * Create and setup QIntegerTextBox txtCategoryId
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtCategoryId_Create($strControlId = null) {
			$this->txtCategoryId = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtCategoryId->Name = QApplication::Translate('Category Id');
			$this->txtCategoryId->Text = $this->objMantisBugTable->CategoryId;
			$this->txtCategoryId->Required = true;
			return $this->txtCategoryId;
		}

		/**
		 * Create and setup QLabel lblCategoryId
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblCategoryId_Create($strControlId = null, $strFormat = null) {
			$this->lblCategoryId = new QLabel($this->objParentObject, $strControlId);
			$this->lblCategoryId->Name = QApplication::Translate('Category Id');
			$this->lblCategoryId->Text = $this->objMantisBugTable->CategoryId;
			$this->lblCategoryId->Required = true;
			$this->lblCategoryId->Format = $strFormat;
			return $this->lblCategoryId;
		}

		/**
		 * Create and setup QIntegerTextBox txtDateSubmitted
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtDateSubmitted_Create($strControlId = null) {
			$this->txtDateSubmitted = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtDateSubmitted->Name = QApplication::Translate('Date Submitted');
			$this->txtDateSubmitted->Text = $this->objMantisBugTable->DateSubmitted;
			$this->txtDateSubmitted->Required = true;
			return $this->txtDateSubmitted;
		}

		/**
		 * Create and setup QLabel lblDateSubmitted
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblDateSubmitted_Create($strControlId = null, $strFormat = null) {
			$this->lblDateSubmitted = new QLabel($this->objParentObject, $strControlId);
			$this->lblDateSubmitted->Name = QApplication::Translate('Date Submitted');
			$this->lblDateSubmitted->Text = $this->objMantisBugTable->DateSubmitted;
			$this->lblDateSubmitted->Required = true;
			$this->lblDateSubmitted->Format = $strFormat;
			return $this->lblDateSubmitted;
		}

		/**
		 * Create and setup QIntegerTextBox txtDueDate
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtDueDate_Create($strControlId = null) {
			$this->txtDueDate = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtDueDate->Name = QApplication::Translate('Due Date');
			$this->txtDueDate->Text = $this->objMantisBugTable->DueDate;
			$this->txtDueDate->Required = true;
			return $this->txtDueDate;
		}

		/**
		 * Create and setup QLabel lblDueDate
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblDueDate_Create($strControlId = null, $strFormat = null) {
			$this->lblDueDate = new QLabel($this->objParentObject, $strControlId);
			$this->lblDueDate->Name = QApplication::Translate('Due Date');
			$this->lblDueDate->Text = $this->objMantisBugTable->DueDate;
			$this->lblDueDate->Required = true;
			$this->lblDueDate->Format = $strFormat;
			return $this->lblDueDate;
		}

		/**
		 * Create and setup QIntegerTextBox txtLastUpdated
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtLastUpdated_Create($strControlId = null) {
			$this->txtLastUpdated = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtLastUpdated->Name = QApplication::Translate('Last Updated');
			$this->txtLastUpdated->Text = $this->objMantisBugTable->LastUpdated;
			$this->txtLastUpdated->Required = true;
			return $this->txtLastUpdated;
		}

		/**
		 * Create and setup QLabel lblLastUpdated
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblLastUpdated_Create($strControlId = null, $strFormat = null) {
			$this->lblLastUpdated = new QLabel($this->objParentObject, $strControlId);
			$this->lblLastUpdated->Name = QApplication::Translate('Last Updated');
			$this->lblLastUpdated->Text = $this->objMantisBugTable->LastUpdated;
			$this->lblLastUpdated->Required = true;
			$this->lblLastUpdated->Format = $strFormat;
			return $this->lblLastUpdated;
		}

		/**
		 * Create and setup QIntegerTextBox txtIncludedInBuildVersion
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtIncludedInBuildVersion_Create($strControlId = null) {
			$this->txtIncludedInBuildVersion = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtIncludedInBuildVersion->Name = QApplication::Translate('Included In Build Version');
			$this->txtIncludedInBuildVersion->Text = $this->objMantisBugTable->IncludedInBuildVersion;
			return $this->txtIncludedInBuildVersion;
		}

		/**
		 * Create and setup QLabel lblIncludedInBuildVersion
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblIncludedInBuildVersion_Create($strControlId = null, $strFormat = null) {
			$this->lblIncludedInBuildVersion = new QLabel($this->objParentObject, $strControlId);
			$this->lblIncludedInBuildVersion->Name = QApplication::Translate('Included In Build Version');
			$this->lblIncludedInBuildVersion->Text = $this->objMantisBugTable->IncludedInBuildVersion;
			$this->lblIncludedInBuildVersion->Format = $strFormat;
			return $this->lblIncludedInBuildVersion;
		}

		/**
		 * Create and setup QDateTimePicker calStartDate
		 * @param string $strControlId optional ControlId to use
		 * @return QDateTimePicker
		 */
		public function calStartDate_Create($strControlId = null) {
			$this->calStartDate = new QDateTimePicker($this->objParentObject, $strControlId);
			$this->calStartDate->Name = QApplication::Translate('Start Date');
			$this->calStartDate->DateTime = $this->objMantisBugTable->StartDate;
			$this->calStartDate->DateTimePickerType = QDateTimePickerType::DateTime;
			return $this->calStartDate;
		}

		/**
		 * Create and setup QLabel lblStartDate
		 * @param string $strControlId optional ControlId to use
		 * @param string $strDateTimeFormat optional DateTimeFormat to use
		 * @return QLabel
		 */
		public function lblStartDate_Create($strControlId = null, $strDateTimeFormat = null) {
			$this->lblStartDate = new QLabel($this->objParentObject, $strControlId);
			$this->lblStartDate->Name = QApplication::Translate('Start Date');
			$this->strStartDateDateTimeFormat = $strDateTimeFormat;
			$this->lblStartDate->Text = sprintf($this->objMantisBugTable->StartDate) ? $this->objMantisBugTable->StartDate->qFormat($this->strStartDateDateTimeFormat) : null;
			return $this->lblStartDate;
		}

		protected $strStartDateDateTimeFormat;


		/**
		 * Create and setup QDateTimePicker calEndDate
		 * @param string $strControlId optional ControlId to use
		 * @return QDateTimePicker
		 */
		public function calEndDate_Create($strControlId = null) {
			$this->calEndDate = new QDateTimePicker($this->objParentObject, $strControlId);
			$this->calEndDate->Name = QApplication::Translate('End Date');
			$this->calEndDate->DateTime = $this->objMantisBugTable->EndDate;
			$this->calEndDate->DateTimePickerType = QDateTimePickerType::DateTime;
			return $this->calEndDate;
		}

		/**
		 * Create and setup QLabel lblEndDate
		 * @param string $strControlId optional ControlId to use
		 * @param string $strDateTimeFormat optional DateTimeFormat to use
		 * @return QLabel
		 */
		public function lblEndDate_Create($strControlId = null, $strDateTimeFormat = null) {
			$this->lblEndDate = new QLabel($this->objParentObject, $strControlId);
			$this->lblEndDate->Name = QApplication::Translate('End Date');
			$this->strEndDateDateTimeFormat = $strDateTimeFormat;
			$this->lblEndDate->Text = sprintf($this->objMantisBugTable->EndDate) ? $this->objMantisBugTable->EndDate->qFormat($this->strEndDateDateTimeFormat) : null;
			return $this->lblEndDate;
		}

		protected $strEndDateDateTimeFormat;




		/**
		 * Refresh this MetaControl with Data from the local MantisBugTable object.
		 * @param boolean $blnReload reload MantisBugTable from the database
		 * @return void
		 */
		public function Refresh($blnReload = false) {
			if ($blnReload)
				$this->objMantisBugTable->Reload();

			if ($this->lblId) if ($this->blnEditMode) $this->lblId->Text = $this->objMantisBugTable->Id;

			if ($this->txtProjectId) $this->txtProjectId->Text = $this->objMantisBugTable->ProjectId;
			if ($this->lblProjectId) $this->lblProjectId->Text = $this->objMantisBugTable->ProjectId;

			if ($this->txtReporterId) $this->txtReporterId->Text = $this->objMantisBugTable->ReporterId;
			if ($this->lblReporterId) $this->lblReporterId->Text = $this->objMantisBugTable->ReporterId;

			if ($this->txtHandlerId) $this->txtHandlerId->Text = $this->objMantisBugTable->HandlerId;
			if ($this->lblHandlerId) $this->lblHandlerId->Text = $this->objMantisBugTable->HandlerId;

			if ($this->txtDuplicateId) $this->txtDuplicateId->Text = $this->objMantisBugTable->DuplicateId;
			if ($this->lblDuplicateId) $this->lblDuplicateId->Text = $this->objMantisBugTable->DuplicateId;

			if ($this->txtPriority) $this->txtPriority->Text = $this->objMantisBugTable->Priority;
			if ($this->lblPriority) $this->lblPriority->Text = $this->objMantisBugTable->Priority;

			if ($this->txtSeverity) $this->txtSeverity->Text = $this->objMantisBugTable->Severity;
			if ($this->lblSeverity) $this->lblSeverity->Text = $this->objMantisBugTable->Severity;

			if ($this->txtReproducibility) $this->txtReproducibility->Text = $this->objMantisBugTable->Reproducibility;
			if ($this->lblReproducibility) $this->lblReproducibility->Text = $this->objMantisBugTable->Reproducibility;

			if ($this->txtStatus) $this->txtStatus->Text = $this->objMantisBugTable->Status;
			if ($this->lblStatus) $this->lblStatus->Text = $this->objMantisBugTable->Status;

			if ($this->txtResolution) $this->txtResolution->Text = $this->objMantisBugTable->Resolution;
			if ($this->lblResolution) $this->lblResolution->Text = $this->objMantisBugTable->Resolution;

			if ($this->txtProjection) $this->txtProjection->Text = $this->objMantisBugTable->Projection;
			if ($this->lblProjection) $this->lblProjection->Text = $this->objMantisBugTable->Projection;

			if ($this->txtEta) $this->txtEta->Text = $this->objMantisBugTable->Eta;
			if ($this->lblEta) $this->lblEta->Text = $this->objMantisBugTable->Eta;

			if ($this->txtBugTextId) $this->txtBugTextId->Text = $this->objMantisBugTable->BugTextId;
			if ($this->lblBugTextId) $this->lblBugTextId->Text = $this->objMantisBugTable->BugTextId;

			if ($this->txtOs) $this->txtOs->Text = $this->objMantisBugTable->Os;
			if ($this->lblOs) $this->lblOs->Text = $this->objMantisBugTable->Os;

			if ($this->txtOsBuild) $this->txtOsBuild->Text = $this->objMantisBugTable->OsBuild;
			if ($this->lblOsBuild) $this->lblOsBuild->Text = $this->objMantisBugTable->OsBuild;

			if ($this->txtPlatform) $this->txtPlatform->Text = $this->objMantisBugTable->Platform;
			if ($this->lblPlatform) $this->lblPlatform->Text = $this->objMantisBugTable->Platform;

			if ($this->txtVersion) $this->txtVersion->Text = $this->objMantisBugTable->Version;
			if ($this->lblVersion) $this->lblVersion->Text = $this->objMantisBugTable->Version;

			if ($this->txtFixedInVersion) $this->txtFixedInVersion->Text = $this->objMantisBugTable->FixedInVersion;
			if ($this->lblFixedInVersion) $this->lblFixedInVersion->Text = $this->objMantisBugTable->FixedInVersion;

			if ($this->txtBuild) $this->txtBuild->Text = $this->objMantisBugTable->Build;
			if ($this->lblBuild) $this->lblBuild->Text = $this->objMantisBugTable->Build;

			if ($this->txtProfileId) $this->txtProfileId->Text = $this->objMantisBugTable->ProfileId;
			if ($this->lblProfileId) $this->lblProfileId->Text = $this->objMantisBugTable->ProfileId;

			if ($this->txtViewState) $this->txtViewState->Text = $this->objMantisBugTable->ViewState;
			if ($this->lblViewState) $this->lblViewState->Text = $this->objMantisBugTable->ViewState;

			if ($this->txtSummary) $this->txtSummary->Text = $this->objMantisBugTable->Summary;
			if ($this->lblSummary) $this->lblSummary->Text = $this->objMantisBugTable->Summary;

			if ($this->txtSponsorshipTotal) $this->txtSponsorshipTotal->Text = $this->objMantisBugTable->SponsorshipTotal;
			if ($this->lblSponsorshipTotal) $this->lblSponsorshipTotal->Text = $this->objMantisBugTable->SponsorshipTotal;

			if ($this->txtSticky) $this->txtSticky->Text = $this->objMantisBugTable->Sticky;
			if ($this->lblSticky) $this->lblSticky->Text = $this->objMantisBugTable->Sticky;

			if ($this->txtTargetVersion) $this->txtTargetVersion->Text = $this->objMantisBugTable->TargetVersion;
			if ($this->lblTargetVersion) $this->lblTargetVersion->Text = $this->objMantisBugTable->TargetVersion;

			if ($this->txtCategoryId) $this->txtCategoryId->Text = $this->objMantisBugTable->CategoryId;
			if ($this->lblCategoryId) $this->lblCategoryId->Text = $this->objMantisBugTable->CategoryId;

			if ($this->txtDateSubmitted) $this->txtDateSubmitted->Text = $this->objMantisBugTable->DateSubmitted;
			if ($this->lblDateSubmitted) $this->lblDateSubmitted->Text = $this->objMantisBugTable->DateSubmitted;

			if ($this->txtDueDate) $this->txtDueDate->Text = $this->objMantisBugTable->DueDate;
			if ($this->lblDueDate) $this->lblDueDate->Text = $this->objMantisBugTable->DueDate;

			if ($this->txtLastUpdated) $this->txtLastUpdated->Text = $this->objMantisBugTable->LastUpdated;
			if ($this->lblLastUpdated) $this->lblLastUpdated->Text = $this->objMantisBugTable->LastUpdated;

			if ($this->txtIncludedInBuildVersion) $this->txtIncludedInBuildVersion->Text = $this->objMantisBugTable->IncludedInBuildVersion;
			if ($this->lblIncludedInBuildVersion) $this->lblIncludedInBuildVersion->Text = $this->objMantisBugTable->IncludedInBuildVersion;

			if ($this->calStartDate) $this->calStartDate->DateTime = $this->objMantisBugTable->StartDate;
			if ($this->lblStartDate) $this->lblStartDate->Text = sprintf($this->objMantisBugTable->StartDate) ? $this->objMantisBugTable->StartDate->qFormat($this->strStartDateDateTimeFormat) : null;

			if ($this->calEndDate) $this->calEndDate->DateTime = $this->objMantisBugTable->EndDate;
			if ($this->lblEndDate) $this->lblEndDate->Text = sprintf($this->objMantisBugTable->EndDate) ? $this->objMantisBugTable->EndDate->qFormat($this->strEndDateDateTimeFormat) : null;

		}



		///////////////////////////////////////////////
		// PROTECTED UPDATE METHODS for ManyToManyReferences (if any)
		///////////////////////////////////////////////





		///////////////////////////////////////////////
		// PUBLIC MANTISBUGTABLE OBJECT MANIPULATORS
		///////////////////////////////////////////////

		/**
		 * This will save this object's MantisBugTable instance,
		 * updating only the fields which have had a control created for it.
		 */
		public function SaveMantisBugTable() {
			try {
				// Update any fields for controls that have been created
				if ($this->txtProjectId) $this->objMantisBugTable->ProjectId = $this->txtProjectId->Text;
				if ($this->txtReporterId) $this->objMantisBugTable->ReporterId = $this->txtReporterId->Text;
				if ($this->txtHandlerId) $this->objMantisBugTable->HandlerId = $this->txtHandlerId->Text;
				if ($this->txtDuplicateId) $this->objMantisBugTable->DuplicateId = $this->txtDuplicateId->Text;
				if ($this->txtPriority) $this->objMantisBugTable->Priority = $this->txtPriority->Text;
				if ($this->txtSeverity) $this->objMantisBugTable->Severity = $this->txtSeverity->Text;
				if ($this->txtReproducibility) $this->objMantisBugTable->Reproducibility = $this->txtReproducibility->Text;
				if ($this->txtStatus) $this->objMantisBugTable->Status = $this->txtStatus->Text;
				if ($this->txtResolution) $this->objMantisBugTable->Resolution = $this->txtResolution->Text;
				if ($this->txtProjection) $this->objMantisBugTable->Projection = $this->txtProjection->Text;
				if ($this->txtEta) $this->objMantisBugTable->Eta = $this->txtEta->Text;
				if ($this->txtBugTextId) $this->objMantisBugTable->BugTextId = $this->txtBugTextId->Text;
				if ($this->txtOs) $this->objMantisBugTable->Os = $this->txtOs->Text;
				if ($this->txtOsBuild) $this->objMantisBugTable->OsBuild = $this->txtOsBuild->Text;
				if ($this->txtPlatform) $this->objMantisBugTable->Platform = $this->txtPlatform->Text;
				if ($this->txtVersion) $this->objMantisBugTable->Version = $this->txtVersion->Text;
				if ($this->txtFixedInVersion) $this->objMantisBugTable->FixedInVersion = $this->txtFixedInVersion->Text;
				if ($this->txtBuild) $this->objMantisBugTable->Build = $this->txtBuild->Text;
				if ($this->txtProfileId) $this->objMantisBugTable->ProfileId = $this->txtProfileId->Text;
				if ($this->txtViewState) $this->objMantisBugTable->ViewState = $this->txtViewState->Text;
				if ($this->txtSummary) $this->objMantisBugTable->Summary = $this->txtSummary->Text;
				if ($this->txtSponsorshipTotal) $this->objMantisBugTable->SponsorshipTotal = $this->txtSponsorshipTotal->Text;
				if ($this->txtSticky) $this->objMantisBugTable->Sticky = $this->txtSticky->Text;
				if ($this->txtTargetVersion) $this->objMantisBugTable->TargetVersion = $this->txtTargetVersion->Text;
				if ($this->txtCategoryId) $this->objMantisBugTable->CategoryId = $this->txtCategoryId->Text;
				if ($this->txtDateSubmitted) $this->objMantisBugTable->DateSubmitted = $this->txtDateSubmitted->Text;
				if ($this->txtDueDate) $this->objMantisBugTable->DueDate = $this->txtDueDate->Text;
				if ($this->txtLastUpdated) $this->objMantisBugTable->LastUpdated = $this->txtLastUpdated->Text;
				if ($this->txtIncludedInBuildVersion) $this->objMantisBugTable->IncludedInBuildVersion = $this->txtIncludedInBuildVersion->Text;
				if ($this->calStartDate) $this->objMantisBugTable->StartDate = $this->calStartDate->DateTime;
				if ($this->calEndDate) $this->objMantisBugTable->EndDate = $this->calEndDate->DateTime;

				// Update any UniqueReverseReferences (if any) for controls that have been created for it

				// Save the MantisBugTable object
				$this->objMantisBugTable->Save();

				// Finally, update any ManyToManyReferences (if any)
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}

		/**
		 * This will DELETE this object's MantisBugTable instance from the database.
		 * It will also unassociate itself from any ManyToManyReferences.
		 */
		public function DeleteMantisBugTable() {
			$this->objMantisBugTable->Delete();
		}



		///////////////////////////////////////////////
		// PUBLIC GETTERS and SETTERS
		///////////////////////////////////////////////

		/**
		 * Override method to perform a property "Get"
		 * This will get the value of $strName
		 *
		 * @param string $strName Name of the property to get
		 * @return mixed
		 */
		public function __get($strName) {
			switch ($strName) {
				// General MetaControlVariables
				case 'MantisBugTable': return $this->objMantisBugTable;
				case 'TitleVerb': return $this->strTitleVerb;
				case 'EditMode': return $this->blnEditMode;

				// Controls that point to MantisBugTable fields -- will be created dynamically if not yet created
				case 'IdControl':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'IdLabel':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'ProjectIdControl':
					if (!$this->txtProjectId) return $this->txtProjectId_Create();
					return $this->txtProjectId;
				case 'ProjectIdLabel':
					if (!$this->lblProjectId) return $this->lblProjectId_Create();
					return $this->lblProjectId;
				case 'ReporterIdControl':
					if (!$this->txtReporterId) return $this->txtReporterId_Create();
					return $this->txtReporterId;
				case 'ReporterIdLabel':
					if (!$this->lblReporterId) return $this->lblReporterId_Create();
					return $this->lblReporterId;
				case 'HandlerIdControl':
					if (!$this->txtHandlerId) return $this->txtHandlerId_Create();
					return $this->txtHandlerId;
				case 'HandlerIdLabel':
					if (!$this->lblHandlerId) return $this->lblHandlerId_Create();
					return $this->lblHandlerId;
				case 'DuplicateIdControl':
					if (!$this->txtDuplicateId) return $this->txtDuplicateId_Create();
					return $this->txtDuplicateId;
				case 'DuplicateIdLabel':
					if (!$this->lblDuplicateId) return $this->lblDuplicateId_Create();
					return $this->lblDuplicateId;
				case 'PriorityControl':
					if (!$this->txtPriority) return $this->txtPriority_Create();
					return $this->txtPriority;
				case 'PriorityLabel':
					if (!$this->lblPriority) return $this->lblPriority_Create();
					return $this->lblPriority;
				case 'SeverityControl':
					if (!$this->txtSeverity) return $this->txtSeverity_Create();
					return $this->txtSeverity;
				case 'SeverityLabel':
					if (!$this->lblSeverity) return $this->lblSeverity_Create();
					return $this->lblSeverity;
				case 'ReproducibilityControl':
					if (!$this->txtReproducibility) return $this->txtReproducibility_Create();
					return $this->txtReproducibility;
				case 'ReproducibilityLabel':
					if (!$this->lblReproducibility) return $this->lblReproducibility_Create();
					return $this->lblReproducibility;
				case 'StatusControl':
					if (!$this->txtStatus) return $this->txtStatus_Create();
					return $this->txtStatus;
				case 'StatusLabel':
					if (!$this->lblStatus) return $this->lblStatus_Create();
					return $this->lblStatus;
				case 'ResolutionControl':
					if (!$this->txtResolution) return $this->txtResolution_Create();
					return $this->txtResolution;
				case 'ResolutionLabel':
					if (!$this->lblResolution) return $this->lblResolution_Create();
					return $this->lblResolution;
				case 'ProjectionControl':
					if (!$this->txtProjection) return $this->txtProjection_Create();
					return $this->txtProjection;
				case 'ProjectionLabel':
					if (!$this->lblProjection) return $this->lblProjection_Create();
					return $this->lblProjection;
				case 'EtaControl':
					if (!$this->txtEta) return $this->txtEta_Create();
					return $this->txtEta;
				case 'EtaLabel':
					if (!$this->lblEta) return $this->lblEta_Create();
					return $this->lblEta;
				case 'BugTextIdControl':
					if (!$this->txtBugTextId) return $this->txtBugTextId_Create();
					return $this->txtBugTextId;
				case 'BugTextIdLabel':
					if (!$this->lblBugTextId) return $this->lblBugTextId_Create();
					return $this->lblBugTextId;
				case 'OsControl':
					if (!$this->txtOs) return $this->txtOs_Create();
					return $this->txtOs;
				case 'OsLabel':
					if (!$this->lblOs) return $this->lblOs_Create();
					return $this->lblOs;
				case 'OsBuildControl':
					if (!$this->txtOsBuild) return $this->txtOsBuild_Create();
					return $this->txtOsBuild;
				case 'OsBuildLabel':
					if (!$this->lblOsBuild) return $this->lblOsBuild_Create();
					return $this->lblOsBuild;
				case 'PlatformControl':
					if (!$this->txtPlatform) return $this->txtPlatform_Create();
					return $this->txtPlatform;
				case 'PlatformLabel':
					if (!$this->lblPlatform) return $this->lblPlatform_Create();
					return $this->lblPlatform;
				case 'VersionControl':
					if (!$this->txtVersion) return $this->txtVersion_Create();
					return $this->txtVersion;
				case 'VersionLabel':
					if (!$this->lblVersion) return $this->lblVersion_Create();
					return $this->lblVersion;
				case 'FixedInVersionControl':
					if (!$this->txtFixedInVersion) return $this->txtFixedInVersion_Create();
					return $this->txtFixedInVersion;
				case 'FixedInVersionLabel':
					if (!$this->lblFixedInVersion) return $this->lblFixedInVersion_Create();
					return $this->lblFixedInVersion;
				case 'BuildControl':
					if (!$this->txtBuild) return $this->txtBuild_Create();
					return $this->txtBuild;
				case 'BuildLabel':
					if (!$this->lblBuild) return $this->lblBuild_Create();
					return $this->lblBuild;
				case 'ProfileIdControl':
					if (!$this->txtProfileId) return $this->txtProfileId_Create();
					return $this->txtProfileId;
				case 'ProfileIdLabel':
					if (!$this->lblProfileId) return $this->lblProfileId_Create();
					return $this->lblProfileId;
				case 'ViewStateControl':
					if (!$this->txtViewState) return $this->txtViewState_Create();
					return $this->txtViewState;
				case 'ViewStateLabel':
					if (!$this->lblViewState) return $this->lblViewState_Create();
					return $this->lblViewState;
				case 'SummaryControl':
					if (!$this->txtSummary) return $this->txtSummary_Create();
					return $this->txtSummary;
				case 'SummaryLabel':
					if (!$this->lblSummary) return $this->lblSummary_Create();
					return $this->lblSummary;
				case 'SponsorshipTotalControl':
					if (!$this->txtSponsorshipTotal) return $this->txtSponsorshipTotal_Create();
					return $this->txtSponsorshipTotal;
				case 'SponsorshipTotalLabel':
					if (!$this->lblSponsorshipTotal) return $this->lblSponsorshipTotal_Create();
					return $this->lblSponsorshipTotal;
				case 'StickyControl':
					if (!$this->txtSticky) return $this->txtSticky_Create();
					return $this->txtSticky;
				case 'StickyLabel':
					if (!$this->lblSticky) return $this->lblSticky_Create();
					return $this->lblSticky;
				case 'TargetVersionControl':
					if (!$this->txtTargetVersion) return $this->txtTargetVersion_Create();
					return $this->txtTargetVersion;
				case 'TargetVersionLabel':
					if (!$this->lblTargetVersion) return $this->lblTargetVersion_Create();
					return $this->lblTargetVersion;
				case 'CategoryIdControl':
					if (!$this->txtCategoryId) return $this->txtCategoryId_Create();
					return $this->txtCategoryId;
				case 'CategoryIdLabel':
					if (!$this->lblCategoryId) return $this->lblCategoryId_Create();
					return $this->lblCategoryId;
				case 'DateSubmittedControl':
					if (!$this->txtDateSubmitted) return $this->txtDateSubmitted_Create();
					return $this->txtDateSubmitted;
				case 'DateSubmittedLabel':
					if (!$this->lblDateSubmitted) return $this->lblDateSubmitted_Create();
					return $this->lblDateSubmitted;
				case 'DueDateControl':
					if (!$this->txtDueDate) return $this->txtDueDate_Create();
					return $this->txtDueDate;
				case 'DueDateLabel':
					if (!$this->lblDueDate) return $this->lblDueDate_Create();
					return $this->lblDueDate;
				case 'LastUpdatedControl':
					if (!$this->txtLastUpdated) return $this->txtLastUpdated_Create();
					return $this->txtLastUpdated;
				case 'LastUpdatedLabel':
					if (!$this->lblLastUpdated) return $this->lblLastUpdated_Create();
					return $this->lblLastUpdated;
				case 'IncludedInBuildVersionControl':
					if (!$this->txtIncludedInBuildVersion) return $this->txtIncludedInBuildVersion_Create();
					return $this->txtIncludedInBuildVersion;
				case 'IncludedInBuildVersionLabel':
					if (!$this->lblIncludedInBuildVersion) return $this->lblIncludedInBuildVersion_Create();
					return $this->lblIncludedInBuildVersion;
				case 'StartDateControl':
					if (!$this->calStartDate) return $this->calStartDate_Create();
					return $this->calStartDate;
				case 'StartDateLabel':
					if (!$this->lblStartDate) return $this->lblStartDate_Create();
					return $this->lblStartDate;
				case 'EndDateControl':
					if (!$this->calEndDate) return $this->calEndDate_Create();
					return $this->calEndDate;
				case 'EndDateLabel':
					if (!$this->lblEndDate) return $this->lblEndDate_Create();
					return $this->lblEndDate;
				default:
					try {
						return parent::__get($strName);
					} catch (QCallerException $objExc) {
						$objExc->IncrementOffset();
						throw $objExc;
					}
			}
		}

		/**
		 * Override method to perform a property "Set"
		 * This will set the property $strName to be $mixValue
		 *
		 * @param string $strName Name of the property to set
		 * @param string $mixValue New value of the property
		 * @return mixed
		 */
		public function __set($strName, $mixValue) {
			try {
				switch ($strName) {
					// Controls that point to MantisBugTable fields
					case 'IdControl':
						return ($this->lblId = QType::Cast($mixValue, 'QControl'));
					case 'ProjectIdControl':
						return ($this->txtProjectId = QType::Cast($mixValue, 'QControl'));
					case 'ReporterIdControl':
						return ($this->txtReporterId = QType::Cast($mixValue, 'QControl'));
					case 'HandlerIdControl':
						return ($this->txtHandlerId = QType::Cast($mixValue, 'QControl'));
					case 'DuplicateIdControl':
						return ($this->txtDuplicateId = QType::Cast($mixValue, 'QControl'));
					case 'PriorityControl':
						return ($this->txtPriority = QType::Cast($mixValue, 'QControl'));
					case 'SeverityControl':
						return ($this->txtSeverity = QType::Cast($mixValue, 'QControl'));
					case 'ReproducibilityControl':
						return ($this->txtReproducibility = QType::Cast($mixValue, 'QControl'));
					case 'StatusControl':
						return ($this->txtStatus = QType::Cast($mixValue, 'QControl'));
					case 'ResolutionControl':
						return ($this->txtResolution = QType::Cast($mixValue, 'QControl'));
					case 'ProjectionControl':
						return ($this->txtProjection = QType::Cast($mixValue, 'QControl'));
					case 'EtaControl':
						return ($this->txtEta = QType::Cast($mixValue, 'QControl'));
					case 'BugTextIdControl':
						return ($this->txtBugTextId = QType::Cast($mixValue, 'QControl'));
					case 'OsControl':
						return ($this->txtOs = QType::Cast($mixValue, 'QControl'));
					case 'OsBuildControl':
						return ($this->txtOsBuild = QType::Cast($mixValue, 'QControl'));
					case 'PlatformControl':
						return ($this->txtPlatform = QType::Cast($mixValue, 'QControl'));
					case 'VersionControl':
						return ($this->txtVersion = QType::Cast($mixValue, 'QControl'));
					case 'FixedInVersionControl':
						return ($this->txtFixedInVersion = QType::Cast($mixValue, 'QControl'));
					case 'BuildControl':
						return ($this->txtBuild = QType::Cast($mixValue, 'QControl'));
					case 'ProfileIdControl':
						return ($this->txtProfileId = QType::Cast($mixValue, 'QControl'));
					case 'ViewStateControl':
						return ($this->txtViewState = QType::Cast($mixValue, 'QControl'));
					case 'SummaryControl':
						return ($this->txtSummary = QType::Cast($mixValue, 'QControl'));
					case 'SponsorshipTotalControl':
						return ($this->txtSponsorshipTotal = QType::Cast($mixValue, 'QControl'));
					case 'StickyControl':
						return ($this->txtSticky = QType::Cast($mixValue, 'QControl'));
					case 'TargetVersionControl':
						return ($this->txtTargetVersion = QType::Cast($mixValue, 'QControl'));
					case 'CategoryIdControl':
						return ($this->txtCategoryId = QType::Cast($mixValue, 'QControl'));
					case 'DateSubmittedControl':
						return ($this->txtDateSubmitted = QType::Cast($mixValue, 'QControl'));
					case 'DueDateControl':
						return ($this->txtDueDate = QType::Cast($mixValue, 'QControl'));
					case 'LastUpdatedControl':
						return ($this->txtLastUpdated = QType::Cast($mixValue, 'QControl'));
					case 'IncludedInBuildVersionControl':
						return ($this->txtIncludedInBuildVersion = QType::Cast($mixValue, 'QControl'));
					case 'StartDateControl':
						return ($this->calStartDate = QType::Cast($mixValue, 'QControl'));
					case 'EndDateControl':
						return ($this->calEndDate = QType::Cast($mixValue, 'QControl'));
					default:
						return parent::__set($strName, $mixValue);
				}
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}
	}
?>